
<div class="top">

    <!-- <img src="../../../assets/img/page_default.jpg" alt="背景图" class="top-img"> -->
    <div class="po">
      <input type="file" style="display:none" ng2FileSelect [uploader]="uploader" 
            #file   (change) = "selectFile($event)" name="in1">
      <img src={{imgUrl}} alt="头像" class="userhead" (click)="clickFile()">

      <h4>设置游记头图</h4>

      <p>图片建议尺寸大于1680px的高清大图，如相机原图</p>

    </div>
    
</div>

<div class="in-box">

  <span style="color:red;font-size:20px;">*</span>游记标题<input type="text" class="in" [(ngModel)]="tour.title" name="in2"><br>

  <span style="color:red;font-size:20px;">*</span>游记分类
  <select  class="in sel" [(ngModel)]="tour.type" name="in3">
    <option value="出游攻略">出游攻略</option>
    <option value="旅行游记">旅行游记</option>
    <option value="点点滴滴">点点滴滴</option>
    <option value="所见所闻">所见所闻</option>
  </select>

</div>

<div class="ue">
    <ueditor [config]="cfg" #ue></ueditor>
</div>
<button (click)="upsql()" class="btn" >提交</button>
